<?php

namespace app\shop\validate;

use think\Validate;

class OrderValidate extends Validate
{
    protected $rule = [
        ['seller_id', 'require', '参数不全'],
        ['id', 'require', '参数不全'],
        ['lat', 'require', '参数不全'],
        ['lng', 'require', '参数不全'],
        ['province', 'require', '参数不全'],
        ['city', 'require', '参数不全'],
        ['district', 'require', '参数不全'],
        ['address', 'require', '参数不全'],
        ['mobile', 'require', '参数不全'],
        ['consignee', 'require', '参数不全'],
    ];

    protected $scene = [
    	'create' => ['seller_id,lat,lng,province,city,district,address,mobile,consignee'],
    ];
}